package entity

import (
	"shqsoft.cn/pasnj/base"
	//log "github.com/sirupsen/logrus"
)

//零售存款大额变动  首页
type LSCKDESY struct {
	ID     int     `gorm:"AUTO_INCREMENT;primary_key;column:ID"`
	CUNM   string  `gorm:"column:客户名称"`
	ACBL   float64 `gorm:"column:存款余额"`
	JSR    float64 `gorm:"column:较上日"`
	JNC    float64 `gorm:"column:较年初"`
	AVVL   float64 `gorm:"column:年日均"`
	CYNM   string  `gorm:"column:币种"`
	ABSJSR float64 `gorm:"column:ABSJSR"`
}

//TableName Role 流程运行
func (LSCKDESY) TableName() string {
	return "V_INDI_CKBD"
}

func LSCKDESYEF() base.EntityFunc {
	return func() interface{} {
		entity := LSCKDESY{}
		return &entity
	}
}
func LSCKDESYESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []LSCKDESY
		return &entities
	}
}

func init() {
	dao := base.NewDefaultDao(LSCKDESYEF(), LSCKDESYESF(), nil)
	filter := base.DefaultFilter{
		FilterColName: "CUID",
		TableName:     "T_INDI_CLIE_YGFC",
		EmidColName:   "EMID",
		AcidColName:   "CUID",
		WhereCause:    " DTID=dbo.GetDateToInt(dbo.GetCurSysDate())",
	}
	dao.Fileter = &filter
	base.DaoPoolObj.Put("LSCKDESY", dao)
}
